package com.top.art.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.top.art.bo.ExaminationBO;
import com.top.art.bo.ExaminationPaperPageBO;
import com.top.art.entity.ExaminationInfo;
import com.top.art.entity.ExamineeInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.top.art.vo.ExaminationMessageVo;
import com.top.art.vo.ProvinceVO;
import com.top.art.vo.ScoreVO;
import com.top.art.vo.StudioVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 考生信息表 服务类
 * </p>
 *
 * @author hjh
 * @since 2020 -10-05
 */
public interface IExamineeInfoService extends IService<ExamineeInfo> {


    /**
     * Page page.
     *
     * @param bo the bo
     * @return the page
     */
    IPage<ExamineeInfo> page(ExaminationPaperPageBO bo);

    /**
     * 所有考生按照省份，分组
     * @return
     */
    Map<String, List<ExamineeInfo>> groupByareaCode(ExaminationBO bo);


    List<ScoreVO> queryScore();

    IPage<ExamineeInfo> listExamineeInfo(ExaminationBO bo);

    List<ProvinceVO> queryProvince();

    StudioVo countExaminationInfo(String proviceCode);

    ExamineeInfo checkIdAndTicketCode(ExamineeInfo ei);




}
